package com.soft.entity;

//商品类别
public class GoodsType {

    private int id;//商品类别编号
    private String name;//商品类别名称

    public GoodsType() {}

    public void setId(String id) {
        this.id = Integer.parseInt(id);
    }

    public int getId() {
        return id;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getName() {
        return name;
    }
}
